. /etc/profile
. ~/.bash_profile

cd  ~/project/ulss-data-dispatcher


count=`ps -ef|grep  ulss-data-dispatcher|grep -v grep |grep -v  watchdog |grep java|wc -l`

timestr=`date`
if [ $count -lt 1 ]
 then
    (./start-lxc.sh &)
   echo " reboot  at $timestr ..." >>run.log
else
   echo " running ok  at $timestr ..." >>run.log
fi

